import pymysql


# 打开数据库连接
def connect():
    db = pymysql.connect(host='localhost', user='root', password='sxd20346296', database='test_kylin_web')
    return db

def kylin_mysql_connect():
    db = pymysql.connect(host='172.17.66.19', user='root', password='123456', database='customer_service_platform')
    return db
#     # 关闭数据库连接
